package com.etime.perfectschool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.perfectschool.pojo.SchoolFood;
import com.etime.perfectschool.pojo.SchoolNews;
import org.springframework.stereotype.Repository;


//  校园美食表
@Repository
public interface SchoolFoodMapper extends BaseMapper<SchoolFood> {

    //查询全部美食
    Page<SchoolFood> getAllSchoolFood(IPage<SchoolFood> iPage);
    //发布美食
    int addSchoolFood(SchoolFood schoolFood);
}
